package com.mls.fivedistrict.dao;

import com.mls.fivedistrict.pojo.GoodsImages;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.mls.fivedistrict.pojo.GoodsPayIntegral;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Five Team
 * @since 2018-06-11
 */
public interface GoodsImagesMapper extends BaseMapper<GoodsImages> {
    //批量插入
    Integer insertList( List<GoodsImages> goodsImagesList);
    //根据商品ID获取商品图片
    List<GoodsImages> selectListByGoodsId(Long goodsId);
    //根据商品id删除
    Integer deleteByGoodsId(Long goodsId);
}
